

public class Dog extends Animal{
    @Override
    public void eat(){
        System.out.println("狗吃肉，吃狗粮");
    }
    public void sleep(){
        System.out.println("狗趴着睡，睡狗窝");
    }
}
